				<div class="poll">
					  <p class="judulpoll5">Welcome to Polls Result System</p>
					  <p class=" judulpoll droid" >See Result by Courses                  </p>
					  <p>List of  Courses Participant:</p>
                                        <?php
                                            if (count($list_course)>0){
                                                echo "
                                                        <p id='page'>Page: ";
                                                    for ($i=1;$i<=$tab;$i++){
                                                        echo "<a href='".base_url()."/polling/polling_con/home_course/".$i."'>".$i."</a>
                                                        ";
                                                    }
                                            }
                                        ?>
				</div>
				<div class="clear"></div>
				<div class="bagbawah">
					  <table border="0" cellpadding="0" cellspacing="0" id="polltable">
						<tr class="thpoll">
						  <th colspan="2" class="droid">Course  Name:</th>
						  <th class="tdpoll droid">Topics:</th>
						</tr>
                                                <?php
                                                    if (isset($list_course)){
                                                        for ($i=0;$i<count($list_course);$i++) {
                                                            echo "<tr>
                                                              <td>".$list_course[$i]['KODE_PELATIHAN']."-".$list_course[$i]['ANGKATAN']."</td>
                                                              <td><a href='".base_url()."polling/polling_con/polling_course/".$list_course[$i]['KODE_PELATIHAN']."/".$list_course[$i]['ANGKATAN']."'>".$list_course[$i]['NAMA_PELATIHAN']."</a></td>";
                                                              echo "<td class='tdpoll'>";
                                                               if (isset($list_course[$i]['jumlah_topik'])) echo $list_course[$i]['jumlah_topik']." Topics"; //else echo "0 Topics";
                                                               echo "</td>
                                                            </tr>";

    //                                                        echo $list_topik[$i]['NAMA_TEMA']."<br>";
                                                        }
                                                    }
                                                ?>
					  </table>
				</div><!-- end div id bagbawah -->  
